package com.liyiwei.design.decorator;

/**
 * 具体装饰角色：负责给具体构件附加责任
 */
public class ConcreatADecotator extends Decotator {

    public ConcreatADecotator(Component component) {
        super(component);
    }

    @Override
    public void doOperation() {
        super.doOperation();
        System.out.println("A装饰了抽象角色，做了附加的责任");
    }
}
